package com.quick.driver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quick.common.bean.Driver;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DriverMapper extends BaseMapper<Driver> {

    List<Driver> nearByFreeDrivers(@Param("longitude") Double longitude, @Param("latitude") Double latitude);
}
